home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c-part2 / 11786 < prev    next >
Encoding:
Text File  |  1996-08-05  |  956 b   |  33 lines

  1. Newsgroups: comp.lang.c
  2. Path: thinkage.on.ca!news
  3. From: Dan Ho <dho@undergrad.math.uwaterloo.ca>
  4. Subject: Threading in Linux ...
  5. Content-Type: text/plain; charset=us-ascii
  6. Message-ID: <31581C47.41C67EA6@undergrad.math.uwaterloo.ca>
  7. Sender: news@thinkage.on.ca
  8. Content-Transfer-Encoding: 7bit
  9. Organization: Street Fighting Academy
  10. Mime-Version: 1.0
  11. Date: Tue, 26 Mar 1996 16:33:11 GMT
  12. X-Mailer: Mozilla 2.0 (X11; I; SunOS 4.1.2 sun4c)
  13.  
  14. Hello all,
  15.  
  16.     I would appreciate it if someone could tell me how to spawn
  17. a thread in Linux.
  18.  
  19.     I tried using fork(procedure()) but it said "too many 
  20. parameters to fork".  Also, I don't think fork is what I want.  Are
  21. there other ways to spinn off a sub-process than fork?
  22.  
  23.     Also, is a child-process the same as a thread?
  24.  
  25.     Thanks, and please respond by e-mail!
  26.  
  27.     Dan
  28.  
  29. -- 
  30.  _o    "Man who jump off cliff, jump to conclusion."
  31. /<    WWW Homepage:  http://www.csclub.uwaterloo.ca/u/dho/
  32. L    Address: dho@undergrad.math.uwaterloo.ca
  33.